package com.woniuxy.oldmanapi.service;

import com.woniuxy.oldmanapi.entity.Contracttype;
import com.woniuxy.oldmanapi.mapper.ContracttypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ContractTypeService {
    @Autowired
    ContracttypeMapper contracttypeMapper;
    public List<Contracttype> initSelectAllByCons() {
        return  contracttypeMapper.selectAll();
    }
}
